package com.vhall.component.entity.preparation.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author longzhen.gong
 */
@Data
public class ScrollingVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("直播房间id")
    @JsonProperty("room_id")
    private String roomId;

    @ApiModelProperty("开启状态 0:关闭 1:开启")
    @JsonProperty("scrolling_open")
    private Integer scrollingOpen;

    @ApiModelProperty("文本内容")
    private String text;

    @ApiModelProperty("文本类型 1：固定文本  2:固定文本+观看者id昵称")
    @JsonProperty("text_type")
    private Integer textType;

    @ApiModelProperty("文本不透明度 百分比")
    private Integer alpha;

    @ApiModelProperty("文字大小")
    private Integer size;

    @ApiModelProperty("文字颜色")
    private String color;

    @ApiModelProperty("显示间隔时间   时长/秒")
    private Integer interval;

    @ApiModelProperty("文字移动速度:  10000: 慢,  6000:中,  3000:快")
    private Integer speed;

    @ApiModelProperty("是否开启 : 0:关闭 1:开启")
    private Integer status;

    @ApiModelProperty("位置 1:随机 2:高 3:中 4:低")
    private Integer position;

    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;
}
